package com.zhuoyue.biz.core.api.dto.localscene;

import com.baomidou.mybatisplus.annotation.TableField;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 组合场景
 * @author Administrator
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CompositeSceneRelationDTO implements Serializable {


    /**
     * 子场景
     */
    @TableField(value = "`child_scene`")
    private String deviceId;

    /**
     * 命令
     */
    @TableField(value = "`cmd`")
    private String cmd;

    @TableField(exist = false)
    private String deviceType = "Scene";
    /**
     * 执行状态
     */
    @TableField(value = "`state_des`")
    private String stateDes;

    /**
     * 状态
     */
    @TableField(value = "`state`")
    private Integer state;

    /**
     * 意图
     */
    @TableField(value = "`purpose`")
    private String purpose;

    /**
     * 控制参数
     */
    @TableField(value = "`control_Param`")
    private Object controlParam;

    @TableField(value = "`title_des`")
    private String titleDes;

    /**
     * 图片名称
     */
    @TableField(value = "img_name")
    private String imgName;

    @TableField(value = "`sort`")
    private Integer sort;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_SCENE_ID = "scene_id";

    public static final String COL_CHILD_SCENE = "child_scene";

    public static final String COL_CMD = "cmd";

    public static final String COL_STATE_DES = "state_des";

    public static final String COL_STATE = "state";

    public static final String COL_PURPOSE = "purpose";

    public static final String COL_CONTROL_PARAM = "control_Param";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}